home *** CD-ROM | disk | FTP | other *** search
/ Clickx 36 / Clickx 36.iso / mac / assets / software / tuxpaint.dmg / Tux Paint.app / Contents / Frameworks / floodfill.h < prev    next >
Encoding:
C/C++ Source or Header  |  2006-10-20  |  1.2 KB  |  40 lines

  1. /*
  2.   floodfill.h
  3.  
  4.   For Tux Paint
  5.   Flood fill functions
  6.  
  7.   Copyright (c) 2002-2006 by Bill Kendrick and others
  8.   bill@newbreedsoftware.com
  9.   http://www.newbreedsoftware.com/tuxpaint/
  10.  
  11.   This program is free software; you can redistribute it and/or modify
  12.   it under the terms of the GNU General Public License as published by
  13.   the Free Software Foundation; either version 2 of the License, or
  14.   (at your option) any later version.
  15.  
  16.   This program is distributed in the hope that it will be useful,
  17.   but WITHOUT ANY WARRANTY; without even the implied warranty of
  18.   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  19.   GNU General Public License for more details.
  20.  
  21.   You should have received a copy of the GNU General Public License
  22.   along with this program; if not, write to the Free Software
  23.   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  24.   (See COPYING.txt)
  25.  
  26.   June 14, 2002 - February 17, 2006
  27.   $Id: floodfill.h,v 1.2 2006/08/27 21:00:55 wkendrick Exp $
  28. */
  29.  
  30.  
  31. #ifndef FLOODFILL_H
  32. #define FLOODFILL_H
  33.  
  34. #include "SDL.h"
  35.  
  36. void do_flood_fill(SDL_Surface * screen, SDL_Surface * canvas, int x, int y,
  37.            Uint32 cur_colr, Uint32 old_colr);
  38.  
  39. #endif
  40.